package com.acg.auth.mapper;

import com.acg.auth.pojo.SysMenu;
import com.acg.auth.vo.AssignMenuVo;
import com.acg.auth.vo.RouterVo;
import com.acg.exception.ACGException;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author acg
 * @since 2025-08-08
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
//    List<SysMenu> getAllMenu();
//
//    boolean deleteById(Long id) throws ACGException;
//
//    List<SysMenu> findSysMenuByRoleId(Long roleId);
//
//    void doAssign(AssignMenuVo assignMenuVo);
//
//    List<RouterVo> findUserMenuList(Long id);
//
//    List<String> findUserPermsList(Long id);

    List<SysMenu> findListByUserId(@Param("userId") Long userId);

}
